# demo03_scz.py
# 1.链式复制
a = b = "hello"
print(a, b)
# 2.多元赋值
c, d, y = 10, "hehe", "heihei"
print(c, d)  # 10 hehe
e, f = ["xixi", "haha"]
print(e, f)  # xixi haha
g, h = "ab"
print(g, h)  # a b
# 3.交换两个变量的值
num01, num02 = 10, 20
print("before:", num01, num02)
num01, num02 = num02, num01
print("after:", num01, num02)